import type { RoboRequest } from '@robojs/server'; /** * Guild Statistics Endpoint * * Provides high-level guild statistics for dashboards and analytics. * * **WARNING: This endpoint is currently unauthenticated.** * Recommend restricting access to administrators only in production. * * **Performance Considerations:** * - Top user data from cached leaderboard (fast) * - Total XP calculation requires loading all users (expensive for large guilds) * - Consider the performance impact for guilds with thousands of users * * **Use Cases:** * - Dashboard overview pages * - Analytics and reporting * - Guild comparison tools * - Admin monitoring * * **Route:** * - GET /api/xp/stats/:guildId - Get guild statistics */ declare const _default: (request: RoboRequest) => Promise; export default _default;